package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 新建、编辑商品单位
 **/
public class EditProUnitParam {
	private String uid; // 单位id
	@NotEmpty(message = "单位名称不能为空")
	private String name; // 单位名称
	private String remark; //  商品单位描述
	@Pattern(regexp = "^1|2$", message = "是否启用 1启用 2禁用")
	private String isEnable; // 是否启用 1启用 2禁用

	public void setUid(String uid) {
 		this.uid = uid;
	}

	public String getUid() {
 		return uid;
	}

	public void setName(String name) {
 		this.name = name;
	}

	public String getName() {
 		return name;
	}

	public void setRemark(String remark) {
 		this.remark = remark;
	}

	public String getRemark() {
 		return remark;
	}

	public void setIsEnable(String isEnable) {
 		this.isEnable = isEnable;
	}

	public String getIsEnable() {
 		return isEnable;
	}

}
